package com.kakaluote.lzhuserservice.client;

import com.kakaluote.lzhcommon.entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Description
 * @auther 刘中华
 * @create 2019-02-19 16:13
 */
@FeignClient(name= "img-service",fallback = UserImgClientBack.class)
public interface UserImgClient {

    @GetMapping("/user/img/{id}")
    public Result getUserImg(@PathVariable("id") String id);
}
